﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:local="clr-namespace:EIA.SLClient.PlatManage.Common"
	xmlns:EIA_SLClient_Utility_Converters="clr-namespace:EIA.SLClient.Utility.Converters;assembly=EIA.SLClient.Utility"
	mc:Ignorable="d"
	x:Class="EIA.SLClient.PlatManage.Common.LoginView"
	d:DesignWidth="1024" d:DesignHeight="768">
	<UserControl.Resources>
		<local:LoginViewModel x:Key="LoginViewModelDataSource" />
	</UserControl.Resources>

	<Grid x:Name="LayoutRoot" DataContext="{Binding Source={StaticResource LoginViewModelDataSource}}">
		<Grid.RowDefinitions>
			<RowDefinition Height="74"/>
			<RowDefinition/>
			<RowDefinition Height="40"/>
		</Grid.RowDefinitions>
		<Grid Grid.Row="1" Background="White" Visibility="{Binding IsShow, Converter={StaticResource Bool2VisibilityConverter}}">
			<Image Margin="80,0,490,0" Source="/EIA.SLClient.PlatManage.Common;component/assets/img/登录_广告.png" Stretch="Fill" Height="390" VerticalAlignment="Center"/>
			<Grid HorizontalAlignment="Right" Margin="0,0,140,0" Width="300" Height="300" VerticalAlignment="Center">
				<TextBox Margin="0,40,0,0" TextWrapping="Wrap" VerticalAlignment="Top" FontSize="14.667"/>
				<PasswordBox Margin="0,86,0,0" FontSize="14.667" VerticalAlignment="Top" d:LayoutOverrides="VerticalAlignment"/>
				<Button Content="登    录" Height="30" Margin="0,180,0,0" VerticalAlignment="Top" FontSize="14.667"/>
			</Grid>
		</Grid>
	</Grid>
</UserControl>
